package com.comet.service;

import com.comet.domain.Order;
import org.springframework.web.bind.annotation.RequestParam;

public interface OrderService {

     Order findOrderById(@RequestParam int orderId);

     /**
      * 流控测试：限流、熔断
      */
     Object sentinelFlowLimit(String query);

     /**
      * 测试分布式事务
       */
     Object createOrder(Order order);

}
